<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>想要一块专业手绘板 - 心愿社交</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    
    <style>
        /* 基础样式 */
        body {
            font-family: 'Inter', system-ui, sans-serif;
            background-color: #f8f9fa;
            color: #333;
        }
        
        /* 导航栏 */
        .navbar {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .logo {
            font-weight: 700;
            font-size: 1.5rem;
            color: #e74c3c;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        /* 主内容区 */
        .main-container {
            padding: 2rem 0;
        }
        
        /* 许愿详情卡片 */
        .wish-detail-card {
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 2px 15px rgba(0,0,0,0.05);
            overflow: hidden;
            margin-bottom: 2rem;
        }
        
        /* 图片展示区 */
        .wish-images {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(33.333%, 1fr));
            gap: 4px;
        }
        
        .wish-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            cursor: pointer;
            transition: transform 0.2s;
        }
        
        .wish-image:hover {
            transform: scale(1.02);
        }
        
        /* 许愿内容区 */
        .wish-content {
            padding: 1.5rem;
        }
        
        .wish-title {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }
        
        .wish-meta {
            display: flex;
            align-items: center;
            margin-bottom: 1.5rem;
            color: #6c757d;
            font-size: 0.9rem;
        }
        
        .wish-meta .dot {
            width: 3px;
            height: 3px;
            border-radius: 50%;
            background-color: #6c757d;
            margin: 0 10px;
        }
        
        .wish-description {
            font-size: 1rem;
            line-height: 1.6;
            margin-bottom: 1.5rem;
            color: #495057;
        }
        
        .wish-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-bottom: 1.5rem;
        }
        
        .wish-tag {
            padding: 4px 12px;
            border-radius: 20px;
            background-color: #f1f3f5;
            color: #495057;
            font-size: 0.85rem;
        }
        
        /* 作者信息 */
        .author-info {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 1rem 1.5rem;
            border-top: 1px solid #e9ecef;
            border-bottom: 1px solid #e9ecef;
        }
        
        .author-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .author-details {
            flex: 1;
        }
        
        .author-name {
            font-weight: 600;
            font-size: 1.1rem;
            color: #333;
            text-decoration: none;
        }
        
        .author-name:hover {
            color: #e74c3c;
            text-decoration: underline;
        }
        
        .author-joined {
            font-size: 0.85rem;
            color: #6c757d;
        }
        
        .follow-btn {
            padding: 6px 16px;
            border-radius: 20px;
            background-color: transparent;
            border: 1px solid #e74c3c;
            color: #e74c3c;
            font-weight: 500;
            transition: all 0.2s;
        }
        
        .follow-btn:hover, .follow-btn.following {
            background-color: #e74c3c;
            color: white;
        }
        
        /* 操作按钮区 */
        .action-buttons {
            display: flex;
            justify-content: space-around;
            padding: 1rem 1.5rem;
            border-bottom: 1px solid #e9ecef;
        }
        
        .action-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            color: #6c757d;
            text-decoration: none;
            transition: color 0.2s;
            padding: 8px 16px;
            border-radius: 6px;
        }
        
        .action-btn:hover {
            background-color: #f8f9fa;
        }
        
        .action-btn.liked {
            color: #e74c3c;
        }
        
        .action-btn.saved {
            color: #f39c12;
        }
        
        .action-icon {
            font-size: 1.25rem;
        }
        
        .action-text {
            font-size: 0.85rem;
        }
        
        /* 相关推荐 */
        .related-wishes {
            margin-bottom: 2rem;
        }
        
        .section-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .related-cards {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1rem;
        }
        
        .related-card {
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            transition: transform 0.2s;
        }
        
        .related-card:hover {
            transform: translateY(-3px);
        }
        
        .related-image {
            width: 100%;
            height: 140px;
            object-fit: cover;
        }
        
        .related-content {
            padding: 0.75rem;
        }
        
        .related-title {
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .related-meta {
            font-size: 0.8rem;
            color: #6c757d;
        }
        
        /* 留言区 */
        .comments-section {
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 2px 15px rgba(0,0,0,0.05);
            padding: 1.5rem;
        }
        
        .comments-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .comments-count {
            font-weight: 600;
            color: #333;
        }
        
        .sort-comments {
            color: #6c757d;
            font-size: 0.9rem;
            cursor: pointer;
        }
        
        /* 留言输入框 */
        .comment-input-container {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
        }
        
        .user-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .comment-input-wrapper {
            flex: 1;
        }
        
        .comment-input {
            width: 100%;
            padding: 10px 14px;
            border-radius: 20px;
            border: 1px solid #dee2e6;
            resize: none;
            font-size: 0.95rem;
            transition: all 0.2s;
            min-height: 80px;
        }
        
        .comment-input:focus {
            outline: none;
            border-color: #e74c3c;
            box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
        }
        
        .comment-actions {
            display: flex;
            justify-content: flex-end;
            gap: 1rem;
            margin-top: 0.75rem;
        }
        
        .cancel-btn {
            background-color: transparent;
            border: none;
            color: #6c757d;
            padding: 6px 16px;
            cursor: pointer;
        }
        
        .post-btn {
            background-color: #e74c3c;
            color: white;
            border: none;
            border-radius: 20px;
            padding: 6px 20px;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        
        .post-btn:hover {
            background-color: #c0392b;
        }
        
        /* 留言列表 */
        .comments-list {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        .comment-item {
            display: flex;
            gap: 1rem;
        }
        
        .comment-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .comment-content {
            flex: 1;
        }
        
        .comment-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
        }
        
        .comment-author {
            font-weight: 600;
            font-size: 0.95rem;
        }
        
        .comment-time {
            font-size: 0.8rem;
            color: #6c757d;
        }
        
        .comment-text {
            background-color: #f8f9fa;
            padding: 10px 14px;
            border-radius: 12px;
            margin-bottom: 0.75rem;
            font-size: 0.95rem;
        }
        
        .comment-actions {
            display: flex;
            gap: 1.5rem;
            font-size: 0.85rem;
        }
        
        .comment-action {
            color: #6c757d;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        .comment-action:hover {
            color: #e74c3c;
        }
        
        .comment-action.liked {
            color: #e74c3c;
        }
        
        /* 回复区 */
        .replies {
            margin-left: 2.5rem;
            margin-top: 1rem;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .reply-item {
            display: flex;
            gap: 0.75rem;
        }
        
        .reply-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .reply-content {
            flex: 1;
        }
        
        .reply-text {
            background-color: #f8f9fa;
            padding: 8px 12px;
            border-radius: 10px;
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
        }
        
        .reply-text .reply-to {
            color: #e74c3c;
            font-weight: 500;
        }
        
        /* 回复输入框 */
        .reply-input-container {
            display: flex;
            gap: 0.75rem;
            margin-top: 0.75rem;
        }
        
        .reply-input {
            flex: 1;
            padding: 6px 12px;
            border-radius: 16px;
            border: 1px solid #dee2e6;
            font-size: 0.9rem;
        }
        
        .reply-input:focus {
            outline: none;
            border-color: #e74c3c;
        }
        
        .reply-btn {
            background-color: #e74c3c;
            color: white;
            border: none;
            border-radius: 16px;
            padding: 6px 16px;
            font-size: 0.9rem;
            cursor: pointer;
        }
        

        
        /* 响应式调整 */
        @media (max-width: 768px) {
            .wish-images {
                grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));
            }
            
            .wish-image {
                height: 160px;
            }
            
            .wish-title {
                font-size: 1.5rem;
            }
            
            .action-text {
                display: none;
            }
            
            .action-btn {
                padding: 8px;
            }
            
            .related-cards {
                grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));
            }
            
            .replies {
                margin-left: 1.5rem;
            }
        }
        
        @media (max-width: 576px) {
            .wish-images {
                grid-template-columns: 1fr;
            }
            
            .wish-image {
                height: 200px;
            }
            
            .related-cards {
                grid-template-columns: 1fr;
            }
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <nav class="navbar navbar-expand-lg py-3">
        <div class="container">
            <a href="#" class="logo">
                <i class="fas fa-heart"></i>
                <span>心愿社交</span>
            </a>
            
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarContent">
                <i class="fas fa-bars"></i>
            </button>
            
            <div class="collapse navbar-collapse" id="navbarContent">
                <ul class="navbar-nav ms-auto gap-3">
                    <li class="nav-item">
                        <a href="#" class="nav-link"><i class="fas fa-home me-1"></i> 首页</a>
                    </li>
                    <li class="nav-item">
                        <a href="#" class="nav-link"><i class="fas fa-list me-1"></i> 许愿列表</a>
                    </li>
                    <li class="nav-item">
                        <a href="#" class="nav-link"><i class="fas fa-bell me-1"></i> 通知</a>
                    </li>
                    <li class="nav-item">
                        <a href="#" class="btn btn-danger rounded-pill">
                            <i class="fas fa-plus me-1"></i> 发布许愿
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>
    
    <!-- 主内容区 -->
    <div class="container main-container">
        <div class="row">
            <!-- 左侧主内容 -->
            <div class="col-lg-8">
                <!-- 许愿详情卡片 -->
                <div class="wish-detail-card">
                    <!-- 图片展示区 -->
                    <div class="wish-images">
                        <img src="https://picsum.photos/600/400?random=1" alt="手绘板展示图1" class="wish-image">
                        <img src="https://picsum.photos/600/400?random=2" alt="手绘板展示图2" class="wish-image">
                        <img src="https://picsum.photos/600/400?random=3" alt="手绘板展示图3" class="wish-image">
                    </div>
                    
                    <!-- 许愿内容区 -->
                    <div class="wish-content">
                        <h1 class="wish-title">想要一块专业手绘板，开始我的数字绘画之旅</h1>
                        
                        <div class="wish-meta">
                            <span>发布于 3天前</span>
                            <span class="dot"></span>
                            <span>电子数码</span>
                            <span class="dot"></span>
                            <span><i class="far fa-eye me-1"></i> 1,256 浏览</span>
                        </div>
                        
                        <div class="wish-description">
                            <p>一直想学习数字绘画，希望能有一块专业的手绘板，主要用于插画创作和概念设计。</p>
                            <p>理想中的型号是Wacom Intuos Pro Medium，听说这款压感和精度都很不错，适合专业创作。当然其他品牌的同级别产品也可以考虑，比如XP-Pen或Huion的高端型号。</p>
                            <p>预算在2000元左右，希望能有压感笔和相关配件。如果有人愿意割爱闲置的手绘板，我也很乐意接受，会好好爱惜的！</p>
                            <p>我已经自学了一些基础绘画知识，有了手绘板后会更加努力练习，希望将来能成为一名插画师。如果有同样爱好的朋友，也欢迎一起交流学习！</p>
                        </div>
                        
                        <div class="wish-tags">
                            <span class="wish-tag">#绘画</span>
                            <span class="wish-tag">#数字艺术</span>
                            <span class="wish-tag">#手绘板</span>
                            <span class="wish-tag">#Wacom</span>
                            <span class="wish-tag">#兴趣爱好</span>
                        </div>
                    </div>
                    
                    <!-- 作者信息 -->
                    <div class="author-info">
                        <img src="https://picsum.photos/100/100?random=101" alt="陈明的头像" class="author-avatar">
                        <div class="author-details">
                            <a href="#" class="author-name">陈明</a>
                            <div class="author-joined">加入于 2022年3月 · 发布了 24 个愿望</div>
                        </div>
                        <button class="follow-btn">关注</button>
                    </div>
                    
                    <!-- 操作按钮区 -->
                    <div class="action-buttons">
                        <a href="#" class="action-btn like-btn">
                            <i class="far fa-heart action-icon"></i>
                            <span class="action-text">点赞</span>
                            <span class="action-count">256</span>
                        </a>
                        <a href="#" class="action-btn comment-btn">
                            <i class="far fa-comment action-icon"></i>
                            <span class="action-text">评论</span>
                            <span class="action-count">48</span>
                        </a>
                        <a href="#" class="action-btn share-btn">
                            <i class="far fa-share-square action-icon"></i>
                            <span class="action-text">分享</span>
                        </a>
                        <a href="#" class="action-btn save-btn">
                            <i class="far fa-bookmark action-icon"></i>
                            <span class="action-text">收藏</span>
                            <span class="action-count">72</span>
                        </a>
                        <a href="#" class="action-btn help-btn">
                            <i class="far fa-lightbulb action-icon"></i>
                            <span class="action-text">帮助实现</span>
                        </a>
                    </div>
                </div>
                
                <!-- 留言区 -->
                <div class="comments-section">
                    <div class="comments-header">
                        <div class="comments-count">评论 (48)</div>
                        <div class="sort-comments">
                            <i class="fas fa-sort me-1"></i> 最新排序
                        </div>
                    </div>
                    
                    <!-- 留言输入框 -->
                    <div class="comment-input-container">
                        <img src="https://picsum.photos/100/100?random=200" alt="当前用户头像" class="user-avatar">
                        <div class="comment-input-wrapper">
                            <textarea class="comment-input" placeholder="分享你的想法..."></textarea>
                            <div class="comment-actions">
                                <button class="cancel-btn">取消</button>
                                <button class="post-btn">发布评论</button>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 留言列表 -->
                    <div class="comments-list">
                        <!-- 评论1 -->
                        <div class="comment-item">
                            <img src="https://picsum.photos/100/100?random=201" alt="李华的头像" class="comment-avatar">
                            <div class="comment-content">
                                <div class="comment-header">
                                    <div class="comment-author">李华</div>
                                    <div class="comment-time">2天前</div>
                                </div>
                                <div class="comment-text">
                                    我有一块Wacom Intuos Pro Small，只用过几次，几乎全新，如果你不介意尺寸小一点的话可以转给你，价格好商量。
                                </div>
                                <div class="comment-actions">
                                    <div class="comment-action like-comment">
                                        <i class="far fa-heart"></i>
                                        <span>32</span>
                                    </div>
                                    <div class="comment-action reply-btn">回复</div>
                                </div>
                                
                                <!-- 回复区 -->
                                <div class="replies">
                                    <!-- 回复1 -->
                                    <div class="reply-item">
                                        <img src="https://picsum.photos/100/100?random=101" alt="陈明的头像" class="reply-avatar">
                                        <div class="comment-content">
                                            <div class="comment-header">
                                                <div class="comment-author">陈明 <span class="text-muted">(作者)</span></div>
                                                <div class="comment-time">1天前</div>
                                            </div>
                                            <div class="reply-text">
                                                <span class="reply-to">@李华</span> 真的吗？我对尺寸要求不高，small其实更适合我的桌面空间，请问你想多少钱出呢？
                                            </div>
                                            <div class="comment-actions">
                                                <div class="comment-action like-comment">
                                                    <i class="far fa-heart"></i>
                                                    <span>8</span>
                                                </div>
                                                <div class="comment-action reply-btn">回复</div>
                                            </div>
                                        </div>
                                    </div>
                                    
                                    <!-- 回复输入框 -->
                                    <div class="reply-input-container">
                                        <img src="https://picsum.photos/100/100?random=201" alt="李华的头像" class="reply-avatar">
                                        <input type="text" class="reply-input" placeholder="回复 @陈明...">
                                        <button class="reply-btn">回复</button>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 评论2 -->
                        <div class="comment-item">
                            <img src="https://picsum.photos/100/100?random=202" alt="王艺的头像" class="comment-avatar">
                            <div class="comment-content">
                                <div class="comment-header">
                                    <div class="comment-author">王艺</div>
                                    <div class="comment-time">3天前</div>
                                </div>
                                <div class="comment-text">
                                    作为一名插画师，我推荐你加点预算直接上Intuos Pro Large，工作区域更大，长时间绘画不容易累。如果预算有限，也可以考虑二手市场，很多人买了用几次就闲置了。
                                </div>
                                <div class="comment-actions">
                                    <div class="comment-action like-comment liked">
                                        <i class="fas fa-heart"></i>
                                        <span>56</span>
                                    </div>
                                    <div class="comment-action reply-btn">回复</div>
                                </div>
                                
                                <!-- 回复区 -->
                                <div class="replies">
                                    <!-- 回复1 -->
                                    <div class="reply-item">
                                        <img src="https://picsum.photos/100/100?random=203" alt="张美的头像" class="reply-avatar">
                                        <div class="comment-content">
                                            <div class="comment-header">
                                                <div class="comment-author">张美</div>
                                                <div class="comment-time">2天前</div>
                                            </div>
                                            <div class="reply-text">
                                                <span class="reply-to">@王艺</span> 同意你的观点，我之前用small型号，后来换了large，体验提升太多了！
                                            </div>
                                            <div class="comment-actions">
                                                <div class="comment-action like-comment">
                                                    <i class="far fa-heart"></i>
                                                    <span>12</span>
                                                </div>
                                                <div class="comment-action reply-btn">回复</div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 评论3 -->
                        <div class="comment-item">
                            <img src="https://picsum.photos/100/100?random=204" alt="赵亮的头像" class="comment-avatar">
                            <div class="comment-content">
                                <div class="comment-header">
                                    <div class="comment-author">赵亮</div>
                                    <div class="comment-time">3天前</div>
                                </div>
                                <div class="comment-text">
                                    我有朋友在做数码产品代购，可以拿到比市场价低10%左右的价格，需要的话可以帮你问问。另外，如果你是新手，我可以分享一些入门教程给你。
                                </div>
                                <div class="comment-actions">
                                    <div class="comment-action like-comment">
                                        <i class="far fa-heart"></i>
                                        <span>18</span>
                                    </div>
                                    <div class="comment-action reply-btn">回复</div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 加载更多评论 -->
                    <button class="btn btn-outline-secondary btn-sm w-100 mt-3">
                        加载更多评论
                    </button>
                </div>
            </div>
            
            <!-- 右侧边栏 -->
            <div class="col-lg-4">
                <!-- 相关推荐 -->
                <div class="related-wishes">
                    <h3 class="section-title">
                        <i class="fas fa-thumbs-up"></i> 你可能也感兴趣
                    </h3>
                    <div class="related-cards">
                        <a href="#" class="text-decoration-none">
                            <div class="related-card">
                                <img src="https://picsum.photos/400/300?random=10" alt="绘画课程" class="related-image">
                                <div class="related-content">
                                    <div class="related-title">希望能参加一个专业的数字绘画课程</div>
                                    <div class="related-meta">2天前 · 128人点赞</div>
                                </div>
                            </div>
                        </a>
                        
                        <a href="#" class="text-decoration-none">
                            <div class="related-card">
                                <img src="https://picsum.photos/400/300?random=11" alt="绘画软件" class="related-image">
                                <div class="related-content">
                                    <div class="related-title">求Adobe Creative Cloud全套软件</div>
                                    <div class="related-meta">5天前 · 96人点赞</div>
                                </div>
                            </div>
                        </a>
                        
                        <a href="#" class="text-decoration-none">
                            <div class="related-card">
                                <img src="https://picsum.photos/400/300?random=12" alt="绘画教程" class="related-image">
                                <div class="related-content">
                                    <div class="related-title">寻找基础绘画教程和参考书籍</div>
                                    <div class="related-meta">1周前 · 72人点赞</div>
                                </div>
                            </div>
                        </a>
                        
                        <a href="#" class="text-decoration-none">
                            <div class="related-card">
                                <div class="related-content" style="padding: 1rem; min-height: 140px; display: flex; flex-direction: column; justify-content: center;">
                                    <div class="related-title">想认识更多喜欢绘画的朋友，一起交流学习</div>
                                    <div class="related-meta">3天前 · 48人点赞</div>
                                </div>
                            </div>
                        </a>
                    </div>
                </div>
                
                <!-- 热门标签 -->
                <div class="card mb-4">
                    <div class="card-body">
                        <h3 class="section-title">
                            <i class="fas fa-fire"></i> 热门标签
                        </h3>
                        <div class="d-flex flex-wrap gap-2">
                            <a href="#" class="badge bg-light text-dark">#绘画</a>
                            <a href="#" class="badge bg-light text-dark">#数码产品</a>
                            <a href="#" class="badge bg-light text-dark">#学习</a>
                            <a href="#" class="badge bg-light text-dark">#兴趣爱好</a>
                            <a href="#" class="badge bg-light text-dark">#礼物</a>
                            <a href="#" class="badge bg-light text-dark">#摄影</a>
                            <a href="#" class="badge bg-light text-dark">#旅行</a>
                            <a href="#" class="badge bg-light text-dark">#读书</a>
                            <a href="#" class="badge bg-light text-dark">#音乐</a>
                            <a href="#" class="badge bg-light text-dark">#运动</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <!-- 页脚 -->
    <footer class="bg-white py-5 mt-5 border-top">
        <div class="container">
            <div class="text-center">
                <div class="mb-3">
                    <a href="#" class="logo">
                        <i class="fas fa-heart"></i>
                        <span>心愿社交</span>
                    </a>
                </div>
                <p class="text-muted mb-3">分享你的愿望，连接每一份善意</p>
                <div class="d-flex justify-content-center gap-4 mb-4">
                    <a href="#" class="text-muted"><i class="fab fa-weibo fa-lg"></i></a>
                    <a href="#" class="text-muted"><i class="fab fa-wechat fa-lg"></i></a>
                    <a href="#" class="text-muted"><i class="fab fa-instagram fa-lg"></i></a>
                </div>
                <p class="text-muted text-sm">&copy; 2023 心愿社交 版权所有</p>
            </div>
        </div>
    </footer>
    

    <!-- Bootstrap 5 JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>
        // 点赞功能
        document.querySelector('.like-btn').addEventListener('click', function(e) {
            e.preventDefault();
            const icon = this.querySelector('.action-icon');
            const countElem = this.querySelector('.action-count');
            const currentCount = parseInt(countElem.textContent);
            
            if (icon.classList.contains('far')) {
                // 点赞
                icon.classList.remove('far');
                icon.classList.add('fas');
                this.classList.add('liked');
                countElem.textContent = currentCount + 1;
                showNotification('点赞成功');
            } else {
                // 取消点赞
                icon.classList.remove('fas');
                icon.classList.add('far');
                this.classList.remove('liked');
                countElem.textContent = currentCount - 1;
                showNotification('取消点赞');
            }
        });
        
        // 收藏功能
        document.querySelector('.save-btn').addEventListener('click', function(e) {
            e.preventDefault();
            const icon = this.querySelector('.action-icon');
            const countElem = this.querySelector('.action-count');
            const currentCount = parseInt(countElem.textContent);
            
            if (icon.classList.contains('far')) {
                // 收藏
                icon.classList.remove('far');
                icon.classList.add('fas');
                this.classList.add('saved');
                countElem.textContent = currentCount + 1;
                showNotification('收藏成功');
            } else {
                // 取消收藏
                icon.classList.remove('fas');
                icon.classList.add('far');
                this.classList.remove('saved');
                countElem.textContent = currentCount - 1;
                showNotification('取消收藏');
            }
        });
        
        // 分享功能
        document.querySelector('.share-btn').addEventListener('click', function(e) {
            e.preventDefault();
            showNotification('分享链接已复制到剪贴板');
        });
        
        // 帮助实现功能
        document.querySelector('.help-btn').addEventListener('click', function(e) {
            e.preventDefault();
            showNotification('已打开帮助实现对话框');
        });
        
        // 关注作者功能
        document.querySelector('.follow-btn').addEventListener('click', function() {
            if (this.classList.contains('following')) {
                this.classList.remove('following');
                this.textContent = '关注';
                showNotification('已取消关注');
            } else {
                this.classList.add('following');
                this.textContent = '已关注';
                showNotification('关注成功');
            }
        });
        
        // 评论点赞功能
        document.querySelectorAll('.like-comment').forEach(button => {
            button.addEventListener('click', function() {
                const icon = this.querySelector('i');
                const countElem = this.querySelector('span');
                let currentCount = parseInt(countElem.textContent);
                
                if (icon.classList.contains('far')) {
                    // 点赞
                    icon.classList.remove('far');
                    icon.classList.add('fas');
                    this.classList.add('liked');
                    countElem.textContent = currentCount + 1;
                } else {
                    // 取消点赞
                    icon.classList.remove('fas');
                    icon.classList.add('far');
                    this.classList.remove('liked');
                    countElem.textContent = currentCount - 1;
                }
            });
        });
        
        // 回复按钮点击
        document.querySelectorAll('.reply-btn').forEach(button => {
            button.addEventListener('click', function() {
                const commentItem = this.closest('.comment-item, .reply-item');
                const replyInput = commentItem.querySelector('.reply-input-container');
                
                if (replyInput) {
                    // 如果已有回复框，聚焦
                    replyInput.querySelector('.reply-input').focus();
                } else {
                    // 创建回复框
                    const avatar = commentItem.querySelector('.comment-avatar, .reply-avatar').src;
                    const author = commentItem.querySelector('.comment-author').textContent;
                    
                    const replyContainer = document.createElement('div');
                    replyContainer.className = 'reply-input-container';
                    replyContainer.innerHTML = `
                        <img src="${avatar}" class="reply-avatar">
                        <input type="text" class="reply-input" placeholder="回复 @${author}...">
                        <button class="reply-btn">回复</button>
                    `;
                    
                    // 添加到评论底部
                    this.closest('.comment-content').appendChild(replyContainer);
                    replyContainer.querySelector('.reply-input').focus();
                    
                    // 为新回复按钮添加事件
                    replyContainer.querySelector('.reply-btn').addEventListener('click', function() {
                        const input = this.previousElementSibling;
                        if (input.value.trim()) {
                            showNotification('回复成功');
                            input.value = '';
                        }
                    });
                }
            });
        });
        
        // 发布评论
        document.querySelector('.post-btn').addEventListener('click', function() {
            const input = document.querySelector('.comment-input');
            if (input.value.trim()) {
                showNotification('评论发布成功');
                input.value = '';
            }
        });
        
        // 取消评论
        document.querySelector('.cancel-btn').addEventListener('click', function() {
            document.querySelector('.comment-input').value = '';
        });
        

    </script>
</body>
</html>
    
